package cn.iocoder.yudao.module.jky.controller.admin.goods.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 商品更新 Request VO")
@Data
@ToString(callSuper = true)
public class GoodsUpdateStateReqVO {

    @Schema(description = "商品主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "89")
    @NotNull(message = "商品主键不能为空")
    private Integer goodsId;

    @Schema(description = "是否推荐/置顶 Y是 N否")
    private String isTop;

    @Schema(description = "是否显示 Y显示 N不显示", requiredMode = Schema.RequiredMode.REQUIRED)
    private String isShow;

    @Schema(description = "是否特价 Y显示 N不显示", requiredMode = Schema.RequiredMode.REQUIRED)
    private String isSale;

    @Schema(description = "排序")
    private Integer sort;

}
